<template lang="pug">
view
	view.flex.at.jt
		image(
			src="http://img.duoziwang.com/2018/06/2018010130169489.jpg",
			mode="widthFix",
			style="width:80px;border-radius: 50%;"
		)
	view.title.box.p10 基本资料
	view.box.prl10
		view.flex.palist(v-for="item,index in list")
			view.f14.c3 {{item.name}}
			view.ml.f14.c6 {{item.value}}
	view.title.box.p10.mt10 当前现状
	view.box.prl10
		view.flex.palist.at(v-for="item,index in list1",@click="gourl(item)")
			view.f14.c3 {{item.name}}
			view.ml.f14.c6
				<u-icon name="arrow-right" color="#666" size="14"></u-icon>
	button.button.f16(style="width:95%;margin:10px auto") 继续沟通
</template>

<script>
	export default {
		data() {
			return {
				list:[
					{name:'昵称',value:'满天繁星'},
					{name:'性别',value:'女'},
					{name:'年龄',value:'28岁'},
					{name:'身高',value:'160 cm'},
					{name:'体重',value:'满天繁星'}
				],
				list1:[
					{name:'孕妇',type:'1'},
					{name:'高血压',type:'2'},
					{name:'高血糖',type:'3'},
					{name:'通风',type:'4'},
					{name:'睡眠障碍',type:'5'},
					{name:'情绪障碍',type:'6'},
					{name:'老年痴呆障碍',type:'7'},
					{name:'青少年压力',type:'8'},
					{name:'其他',type:'9'}
				]
			}
		},
		methods: {
			gourl(e){
				console.log(e)
				uni.navigateTo({
					url:'./gaoxueya?type='+e.type+'&name='+e.name
				})
			},
		}
	}
</script>

<style>
.palist{
	width: 100%;
	border-bottom: #eee solid 1px;
	line-height: 46px;
}
page{
	background: #fff;
}
</style>
